Automatically converting text to business graphics

ABSTRACT

A facility for generating a graphic image is described. The facility receives from a user a body of text whose creation is not subject to any rules or prototypes. The facility discerns from the body of text a textual organization. The facility then generates a graphic image conveying the discerned textual organization.

TECHNICAL FIELD

The described technology is directed to the field of softwareapplications, and, more particularly, to the field of features forbusiness productivity software applications.

BACKGROUND

Business meetings are often goal-directed, in that they are called for aspecific purpose, and an agenda for conducting a meeting is typicallydefined that satisfies the meeting's purpose. Historically, it has beencommon for a planner or presenter to distribute paper copies of theagenda, in some cases together with copies of other supporting materialsrelating to the agenda.

More recently, software applications for preparing presentationdocuments have become generally available. Such applications make iteasy for a typical computer user to construct a multiple-page visualpresentation that can be projected and advanced throughout the meetingfor viewing by all participants. Such presentations can includeinformation that might have otherwise been provided in a written agendaor accompanying supporting documents, or that might not have beenprovided at all, such as relevant photographs or video clips. Suchpresentations can also be used for a variety of other visual subjectmatter not relating to agendas or meetings.

In general, most presentations generated using such applications aretextual outlines of the agenda, which often contain such constructs aslists and outlines. Although it is technically possible to use suchapplications to generate presentations that present information usingmore eye-catching business graphics, in practice this capability isseldom used. Failure to use this capability may be explained by the factthat designing such business graphics typically requires both a stronggraphical eye and a sense of the different graphical designs which maybe used, or by the fact that executing such business graphics typicallyrequires significant drawing talent, time, and patience.

A few software applications enable a user to insert an emptypregenerated business graphic, which the user can edit to add textualcontent, or add, delete, or rearrange elements of the graphic. Usingthis functionality, however, can require significant effort on the partof the user, who must manually map text to each element or subelement ofthe graphic, type this text in the appropriate place, and modify thestructure of the graphic to match the structure desired.

SUMMARY

A software facility for automatically converting text to businessgraphics is described. The facility enables a user to select a body oftext in a presentation or other document and invoke a “convert tographic” command that may be invoked in a variety of ways. In response,the facility displays a gallery of different graphic designs that can beused to convert the selected text into a graphic. When the user choosesa graphic design from the gallery, the facility automatically discerns astructure or organization of the selected body of text, and maps thisstructure onto a graphic template provided for the graphic design tocreate a graphic corresponding to the selected text. The facility thenreplaces the selected text with the created graphic. The user may alterthe created graphic in a variety of ways, including selecting a newgraphic design for the created graphic, or editing the text on which thecreated graphic is based.

This Summary is provided to introduce a selection of concepts in asimplified form that are further described below in the DetailedDescription. This Summary is not intended to identify key features oressential features of the claimed subject matter, nor is it intended tobe used as an aid in determining the scope of the claimed subjectmatter.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating an example of a suitablecomputing system environment or operating environment in which thefacility may be implemented.

FIG. 2 is a user interface diagram showing in an initial displaypresented b_(y) the facility when used in connection with a presentationapplication.

FIG. 3 is a user interface diagram showing a display presented by thefacility reflecting textual information entered by the user forinclusion in the presentation.

FIG. 4 is a user interface diagram showing a display presented by thefacility reflecting the user's selection of a convert to graphic buttonin the user interface.

FIG. 5 is a user interface diagram showing a display presented by thefacility when the user selects a graphic design indication from thegraphic design gallery displayed by the facility.

FIG. 6 is a user interface diagram showing a display presented by thefacility when the user selects the more conversion options control.

FIG. 7 is a user interface diagram showing a display typically presentedby the facility when the user invokes a context menu by right-clickingin the client area.

FIG. 8 is a user interface diagram showing a display typically presentedby the facility when the user selects a graphic design indication from agraphic design gallery displayed by the facility when the user selects aconvert to graphic entry from a context menu.

FIG. 9 is a user interface diagram showing a display typically presentedby the facility when the user selects the show whole category control.

FIG. 10 is a user interface diagram showing a display typicallypresented by the facility showing the result of changing the generatedgraphic to a newly-selected graphic design.

FIG. 11 is a user interface diagram showing a display typicallypresented by the facility when the user edits the textual hierarchy onwhich the graphic generated by the facility is based.

FIG. 12 is a user interface diagram showing a display typicallypresented by the facility when the user further edits the textualhierarchy to change the level of a text line in the hierarchy.

FIG. 13 is a flow diagram showing steps typically performed by thefacility in order to generate and alter a graphic based upon arbitrarytext in a document, such as a presentation document.

DETAILED DESCRIPTION

A software facility for automatically converting text to businessgraphics (“the facility”) is described. In some embodiments, thefacility enables a user to select a body of text in a presentation orother document and invoke a “convert to graphic” command that may beinvoked in a variety of ways. The selected text may be defined eitherexplicitly or implicitly based upon user input. In response, in someembodiments, the facility displays a gallery of different graphicdesigns that can be used to convert the selected text into a graphic.When the user chooses a graphic design from the gallery, the facilityautomatically discerns a structure or organization of the selected bodyof text, and maps this structure onto a graphic template provided forthe graphic design to create a graphic corresponding to the selectedtext. The facility then replaces the selected text with the createdgraphic.

In some embodiments, the facility continues to display the body of texton which the created graphic is based, such as in a special floatingwindow. The user can edit the displayed body of text, and have the editsreflected in updated versions of the created graphic that are displayedin place of the created graphic. For example, the user may perform editsto the displayed body of text that have the effect of adding a graphicalelement to the graphic, removing a graphical element from the graphic,promoting or demoting the level of a graphical element of the graphic,or altering the text shown in a graphical element of the graphic.

In some embodiments, the facility enables the user to choose a newgraphic design for an existing graphic. In response, the facilitytransforms the existing graphic from its prior graphic design to the newgraphic design.

By performing in some or all of the ways described above, the facilityenables a user without special skills to easily create and reviseprofessional-quality business graphics in a presentation or otherdocument.

FIG. 1 is a block diagram illustrating an example of a suitablecomputing system environment 110 or operating environment in which thefacility may be implemented. The computing system environment 110 isonly one example of a suitable computing environment and is not intendedto suggest any limitation as to the scope of use or functionality of thefacility. Neither should the computing system environment 110 beinterpreted as having any dependency or requirement relating to any oneor a combination of components illustrated in the exemplary operatingenvironment 110.

The facility is operational with numerous other general purpose orspecial purpose computing system environments or configurations.Examples of well-known computing systems, environments, and/orconfigurations that may be suitable for use with the facility include,but are not limited to, personal computers, server computers, handheldor laptop devices, tablet devices, multiprocessor systems,microprocessor-based systems, set top boxes, programmable consumerelectronics, network PCs, minicomputers, mainframe computers,distributed computing environments that include any of the above systemsor devices, and the like.

The facility may be described in the general context ofcomputer-executable instructions, such as program modules, beingexecuted by a computer. Generally, program modules include routines,programs, objects, components, data structures, and so forth thatperform particular tasks or implement particular abstract data types.The facility may also be practiced in distributed computing environmentswhere tasks are performed by remote processing devices that are linkedthrough a communications network. In a distributed computingenvironment, program modules may be located in local and/or remotecomputer storage media including memory storage devices.

With reference to FIG. 1, an exemplary system for implementing thefacility includes a general purpose computing device in the form of acomputer 111. Components of the computer 111 may include, but are notlimited to, a processing unit 120, a system memory 130, and a system bus121 that couples various system components including the system memory130 to the processing unit 120. The system bus 121 may be any of severaltypes of bus structures including a memory bus or memory controller, aperipheral bus, and a local bus using any of a variety of busarchitectures. By way of example, and not limitation, such architecturesinclude an Industry Standard Architecture (ISA) bus, Micro ChannelArchitecture (MCA) bus, Enhanced ISA (EISA) bus, Video ElectronicsStandards Association (VESA) local bus, and Peripheral ComponentInterconnect (PCI) bus also known as a Mezzanine bus.

The computer 111 typically includes a variety of computer-readablemedia. Computer-readable media can be any available media that can beaccessed by the computer 111 and include both volatile and nonvolatilemedia and removable and nonremovable media. By way of example, and notlimitation, computer-readable media may comprise computer storage mediaand communications media. Computer storage media include volatile andnonvolatile and removable and nonremovable media implemented in anymethod or technology for storage of information such ascomputer-readable instructions, data structures, program modules, orother data. Computer storage media include, but are not limited to, RAM,ROM, EEPROM, flash memory or other memory technology, CD-ROM, digitalversatile disks (DVD) or other optical disk storage, magnetic cassettes,magnetic tape, magnetic disk storage or other magnetic storage devices,or any other medium which can be used to store the desired informationand which can be accessed by the computer 111. Communications mediatypically embody computer-readable instructions, data structures,program modules, or other data in a modulated data signal such as acarrier wave or other transport mechanism and include any informationdelivery media. The term “modulated data signal” means a signal that hasone or more of its characteristics set or changed in such a manner as toencode information in the signal. By way of example, and not limitation,communications media include wired media, such as a wired network ordirect-wired connection, and wireless media, such as acoustic, RF,infrared, and other wireless media. Combinations of any of the aboveshould also be included within the scope of computer-readable media.

The system memory 130 includes computer storage media in the form ofvolatile and/or nonvolatile memory such as read only memory (ROM) 131and random access memory (RAM) 132. A basic input/output system (BIOS)133, containing the basic routines that help to transfer informationbetween elements within the computer 111, such as during start-up, istypically stored in ROM 131. RAM 132 typically contains data and/orprogram modules that are immediately accessible to and/or presentlybeing operated on by the processing unit 120. By way of example, and notlimitation, FIG. 1 illustrates an operating system 134, applicationprograms 135, other program modules 136, and program data 137.

The computer 111 may also include other removable/nonremovable,volatile/nonvolatile computer storage media. By way of example only,FIG. 1 illustrates a hard disk drive 141 that reads from or writes tononremovable, nonvolatile magnetic media, a magnetic disk drive 151 thatreads from or writes to a removable, nonvolatile magnetic disk 152, andan optical disk drive 155 that reads from or writes to a removable,nonvolatile optical disk 156, such as a CD-ROM or other optical media.Other removable/nonremovable, volatile/nonvolatile computer storagemedia that can be used in the exemplary operating environment include,but are not limited to, magnetic tape cassettes, flash memory cards,digital versatile disks, digital video tape, solid state RAM, solidstate ROM, and the like. The hard disk drive 141 is typically connectedto the system bus 121 through a nonremovable memory interface, such asan interface 140, and the magnetic disk drive 151 and optical disk drive155 are typically connected to the system bus 121 by a removable memoryinterface, such as an interface 150.

The drives and their associated computer storage media, discussed aboveand illustrated in FIG. 1, provide storage of computer-readableinstructions, data structures, program modules, and other data for thecomputer 111. In FIG. 1, for example, the hard disk drive 141 isillustrated as storing an operating system 144, application programs145, other program modules 146, and program data 147. Note that thesecomponents can either be the same as or different from the operatingsystem 134, application programs 135, other program modules 136, andprogram data 137. The operating system 144, application programs 145,other program modules 146, and program data 147 are given differentnumbers herein to illustrate that, at a minimum, they are differentcopies. A user may enter commands and information into the computer 111through input devices such as a tablet or electronic digitizer 164, amicrophone 163, a keyboard 162, and a pointing device 161, commonlyreferred to as a mouse, trackball, or touch pad. Other input devices notshown in FIG. 1 may include a joystick, game pad, satellite dish,scanner, or the like. These and other input devices are often connectedto the processing unit 120 through a user input interface 160 that iscoupled to the system bus 121, but may be connected by other interfaceand bus structures, such as a parallel port, game port, or a universalserial bus (USB). A monitor 191 or other type of display device is alsoconnected to the system bus 121 via an interface, such as a videointerface 190. The monitor 191 may also be integrated with atouch-screen panel or the like. Note that the monitor 191 and/ortouch-screen panel can be physically coupled to a housing in which thecomputer 111 is incorporated, such as in a tablet-type personalcomputer. In addition, computing devices such as the computer 111 mayalso include other peripheral output devices such as speakers 195 and aprinter 196, which may be connected through an output peripheralinterface 194 or the like.

The computer 111 may operate in a networked environment using logicalconnections to one or more remote computers, such as a remote computer180. The remote computer 180 may be a personal computer, a server, arouter, a network PC, a peer device, or other common network node, andtypically includes many or all of the elements described above relativeto the computer 111, although only a memory storage device 181 has beenillustrated in FIG. 1. The logical connections depicted in FIG. 1include a local area network (LAN) 171 and a wide area network (WAN)173, but may also include other networks. Such networking environmentsare commonplace in offices, enterprisewide computer networks, intranets,and the Internet. For example, in the present facility, the computer 111may comprise the source machine from which data is being migrated, andthe remote computer 180 may comprise the destination machine. Note,however, that source and destination machines need not be connected by anetwork or any other means, but instead, data may be migrated via anymedia capable of being written by the source platform and read by thedestination platform or platforms.

When used in a LAN networking environment, the computer 111 is connectedto the LAN 171 through a network interface or adapter 170. When used ina WAN networking environment, the computer 111 typically includes amodem 172 or other means for establishing communications over the WAN173, such as the Internet. The modem 172, which may be internal orexternal, may be connected to the system bus 121 via the user inputinterface 160 or other appropriate mechanism. In a networkedenvironment, program modules depicted relative to the computer 111, orportions thereof, may be stored in the remote memory storage device 181.By way of example, and not limitation, FIG. 1 illustrates remoteapplication programs 185 as residing on the memory storage device 181.It will be appreciated that the network connections shown are exemplaryand other means of establishing a communications link between thecomputers may be used.

While various functionalities and data are shown in FIG. 1 as residingon particular computer systems that are arranged in a particular way,those skilled in the art will appreciate that such functionalities anddata may be distributed in various other ways across computer systems indifferent arrangements. While computer systems configured as describedabove are typically used to support the operation of the facility, oneof ordinary skill in the art will appreciate that the facility may beimplemented using devices of various types and configurations, andhaving various components.

In order to more fully describe the facility, its operation inconnection with a specific example is discussed below in connection withFIGS. 2-12.

FIG. 2 is a user interface diagram showing in an initial displaypresented by the facility when used in connection with a presentationapplication. Those skilled in the art will appreciate that the facilitymay be used in connection with applications of virtually any type thatpermit a user to enter or load text. The display 200 includes anapplication window for the presentation application. The applicationwindow includes a client area 210, into which the user may type textthat is to be included in the presentation.

FIG. 3 is a user interface diagram showing a display presented by thefacility reflecting textual information entered by the user forinclusion in the presentation. It can be seen that client area 310contains text, including a title text line 311, as well as body textlines 312-319. It can further be seen that the body text has been formedboth in an order—in that it is clear which text line comes first,second, etc.—and a hierarchy—in that it can be seen that, for example,text lines 313 and 314 are children of text line 312. The user candetermine the order of the text lines either based upon the order inwhich they are entered, or by moving an insertion point to the locationin the order where the user wants the next-entered text to appear. Theuser can specify the hierarchy as follows: if the user wants the nexttext line to be at the same level of the hierarchy as the present textline, the user merely presses the enter key when at the end of thepresent text line. If the user wants the next text line to be at a lowerlevel than the present text line, the user presses the enter key, thenthe tab key at the end of the present text line. If the user wants thenext text line to be at a higher level of the hierarchy than the presenttext line, the user presses the enter key, followed by the back-tab keywhen at the end of the present text line. The user may also change atext line's level in the hierarchy by selecting the line, then selectingeither indent button 321 or outdent button 322. The user may also use avariety of other text editing techniques, such as inserting spaces infront of a text line in order to demote the text line in the hierarchy,or deleting spaces before a text line in order to promote the text linein the hierarchy.

FIG. 4 is a user interface diagram showing a display presented by thefacility reflecting the user's selection of a convert to graphic buttonin the user interface. Here, the user has placed a text insertion point499 inside a text container 430 containing text lines 312-319 shown inFIG. 3. When the user selects convert to graphic button 431 in theribbon area of the application's user interface, the facility displays agallery 440 of graphic designs into which the text can be converted. Insome embodiments, the graphic designs shown in the gallery are limitedto a proper subset expected—such as by their designers—-to produce thebest results from automatic conversion. In some embodiments, the graphicdesigns shown in the gallery are ordered in a way that reflects a rankamong the shown graphic designs of the extent to which they areexpected—such as by their designers--to produce good results in theconvert to graphic operation. Here, the gallery includes indicators441-447, each corresponding to a different graphic design and showing anexample of the design's appearance. It can be seen that the user hashovered over graphic design indication 441, causing the facility todisplay a tool tip containing its name. At this point, the user mayeither select a graphic design indication from the gallery, or mayselect control 448 for presenting additional graphic designs that can beused in the conversion.

FIG. 5 is a user interface diagram showing a display presented by thefacility when the user selects a graphic design indication from thegraphic design gallery displayed by the facility. In particular, wherethe user selects graphic design indication 441 after placing insertionpoint 499 in FIG. 4, the facility replaces the selected text with agraphic 550 generated from the text contained in text container 430using the graphic design corresponding to selected graphic designindication 441. In particular, the graphic has four major elements551-554, each corresponding to a different one of the four lines of text312, 315, 317, and 319 at the highest level of the hierarchy. Text fromthe lower level of the hierarchy is shown in the element correspondingto its parent. For example, lines 313 and 314 appear in element 551.This mapping from levels of the hierarchy to elements and subelements ofthe graphic design are configurable aspects of the graphic design. Themappings are also extensible, in that, after the facility is shipped tocustomers, a graphic design containing a new mapping may be added. Thefacility further displays a floating window 560, containing a copy ofthe textual hierarchy made up of text lines 560-568, which the user mayedit in order to modify the generated graphic.

Where, in FIG. 4, the user selects the more conversion options control443, the facility displays indications of a larger selection ofavailable graphic designs. FIG. 6 is a user interface diagram showing adisplay presented by the facility when the user selects the moreconversion options control. This display includes an extended graphicdesign gallery 670 which may include graphic designs other than those inthe subset determined to be most likely to produce good conversionresults. The extended gallery is divided into two panes: a category pane671 and a graphic design indication pane 676. When the user selects oneof the category indications 672-675 displayed in the category pane, thefacility displays in the graphic design indication pane indications of alarge number of graphic designs belonging to the category. For example,when the user selects indication 672 for the process category, thefacility displays a number of indications of process graphic designs,including graphic design indication 677. The user may select one ofthese graphic design indications, then select an OK control 678 toselect the corresponding graphic design. The user may select a cancelcontrol 679 to dismiss the extended gallery.

Rather than using a button as shown in FIG. 4 to issue a convert tographic command, in some embodiments, the user can use a context menu toissue a convert to graphic command. FIG. 7 is a user interface diagramshowing a display typically presented by the facility when the userinvokes a context menu by right-clicking in the client area. The contextmenu 730 includes a variety of controls, including a variety offormatting buttons and menu entries, including a menu entry 731 for theconvert to graphic command. When the user selects menu item 731, thefacility displays graphic design gallery 740, containing indications ofvarious graphic designs available for the conversion process includingindication 741. The gallery further includes a more conversion optionscontrol 748 that the user may select in order to display an extendedgallery containing indications for a larger number of available graphicdesigns.

If the user selects indication 741, then the facility proceeds togenerate a graphic based on the text hierarchy using the graphic designcorresponding to graphic design indication 741. FIG. 8 is a userinterface diagram showing a display typically presented by the facilitywhen the user selects a graphic design indication from a graphic designgallery displayed by the facility when the user selects a convert tographic entry from a context menu. The presentation document 810 similarto the one shown in FIG. 5, including a substituted graphic 850 similarto substituted graphic 550. In addition, the facility displays a varietyof controls relating to the conversion operation. A layout portion ofthe ribbon 880 includes a limited gallery of graphic design indications,such as indications 841-843. The user may select one of these to changethe graphic design used for the graphic produced by the conversionoperation, or may use scroll controls 882-883 to scroll through theindications of the available graphic designs displayed in positions841-843. The user may also select a show all control 881 to display acomplete gallery of graphic design indications as shown in FIG. 6, orselect a show whole category control 884 to display a gallery of graphicdesign indications from the same graphic design category ascurrently-selected graphic design 841. The ribbon area also includes aconstruction section 885 containing controls for modifying the graphic,and a quick style section 886 for applying various coloring, shading,and effects styles to the generated graphic.

FIG. 9 is a user interface diagram showing a display typically presentedby the facility when the user selects the show whole category control.The display includes a larger gallery 940 of graphic design indications,including graphic design indication 949. The user can select any ofthese graphic design indications to change the graphic generated by theconversion operation to the new graphic design.

FIG. 10 is a user interface diagram showing a display typicallypresented by the facility showing the result of changing the generatedgraphic to a newly-selected graphic design. The display is similar tothat shown in FIG. 5, in that the document area 1010 contains a graphicand a floating window 1060 contains the text from which the graphic wasgenerated. The graphic 1050, however, is generated in accordance withthe graphic design having indication 949 shown in FIG. 9 selected by theuser. Like the graphic shown in FIG. 5, it has a major element 1051-1054for each of the highest-level text lines in the hierarchy, as well asthe lower-level text lines shown in connection with the major elementfor the highest-level text line to which they correspond.

In addition to using the controls discussed above in connection withFIG. 8 to alter the graphic generated by the facility, in someembodiments, the user may also edit the textual hierarchy on which thegraphic is based. FIG. 11 is a user interface diagram showing a displaytypically presented by the facility when the user edits the textualhierarchy on which the graphic generated by the facility is based. Itcan be seen that, in response to the user typing new text line 1170 intextual hierarchy 1160, the user has added a new major element 1155 tothe graphic, which contains text 1120 corresponding to new line 1170.

FIG. 12 is a user interface diagram showing a display typicallypresented by the facility when the user further edits the textualhierarchy to change the level of a text line in the hierarchy. Bycomparing FIG. 12 to FIG. 11, it can be seen that the user has changedthe level of text line 1170 from the highest level to the lower level,making text line 1270 a child of text line 1269. In response, thefacility has removed major element 1155 from the graphic 1150 and addedthe contents of line 1270 as text 1220 subordinate to major element1254.

From the foregoing it can be seen that the user can take advantage ofthe facility to automatically generate graphics based upon hierarchicaltext, choosing a graphic design for the generated graphic and laterchanging the graphic design to re-generate the generated graphic; aswell as change the hierarchical text in order to change the generatedgraphic.

FIG. 13 is a flow diagram showing steps typically performed by thefacility in order to generate and alter a graphic based upon arbitrarytext in a document, such as a presentation document. In step 1301, thefacility receives user input selecting text in a document and selectinga convert to graphic command. For example, the user input may do this asshown in FIG. 4 or FIG. 7. In some embodiments, the received user inputselects text by highlighting a particular section of text, or particulartext container objects (such as shapes) or portions thereof. In someembodiments, the received user input selects text by positioning a textinsertion point at a particular location within the text, or byscrolling a window in which the text is displayed to a particularlocation in the text. In various embodiments, the facility permits theuser to issue a convert to graphic command using a variety of other userinterface techniques, such as selecting an item from a pull-down menu ortyping a hotkey or a control-key sequence. In some embodiments, thefacility automatically invokes the convert to graphic command inresponse to indirect indications that the user may be trying to create agraphic.

In step 1302, the facility displays a gallery, or “menu” of graphicdesigns that are available to use to generate the graphic, such asgallery 440 shown in FIG. 4, gallery 670 shown in FIG. 6, gallery 740shown in FIG. 7, the gallery shown in the layout section 880 of FIG. 8,or gallery 940 shown in FIG. 9. In some embodiments, step 1302 isomitted, and the user selects a graphic design as part of selecting theconvert to graphic command, or the facility automatically selects agraphic design.

In step 1303, the facility receives user input selecting a graphicdesign from the menu displayed in step 1302. In step 1304, the facilityidentifies text to convert into a textual hierarchy, and ultimately intoa graphic, based upon the text selected by the user input received instep 1301. In various embodiments, the facility uses a variety oftechniques to identify text in step 1304. In some embodiments, thefacility identifies exactly the text that was selected by the user.Where the user selects text by designating a single location in thetext, such as a text insertion point or a scroll position, the facilitytypically selects a body of text around that position, such as all ofthe text in a line, paragraph or other grouping of lines, page, or othertext container containing the designated location in the text.

In step 1305, the facility transforms the text identified in step 1302into the form of a textual hierarchy.

In step 1306, the facility transforms the textual hierarchy constructedin step 1305 into a graphic in accordance with the selected graphicdesign. In particular, the facility maps from each element at each levelof the textual hierarchy to a corresponding element at a correspondinglevel in a template provided for the selected graphic design. In someembodiments, the facility performs step 1306 by converting the textualhierarchy constructed in step 1305 to a clipboard format, such as theHTML clipboard format, recognizable by a graphical layout engine. Next,the facility removes the identified text from the presentation—and, incases where all of the text in one or more containers was selected,removes those containers—and adds a new graphic to the presentation atthe same position and size as the removed text and/or text containers.The facility passes the HTML clipboard format hierarchy to the graphicallayout engine, which creates elements of the graphic based upon thestructure of the HTML clipboard format hierarchy, and populates thoseelements with the text contained in the HTML clipboard format hierarchy.In some embodiments, the facility performs aspects of step 1306 inaccordance with U.S. patent application Ser. No. 10/955,271 filed onSep. 30, 2004; U.S. patent application Ser. No. 10/957,103, filed onSep. 30, 2004; and/or U.S. patent application Ser. No. 11/281,076, filedon Nov. 17, 2005, each of which is hereby incorporated in its entirety.

In step 1307, the facility replaces the identified text in the documentwith the graphic generated in step 1306. In step 1308, the facilitydisplays the textual hierarchy generated in step 1305 separately fromthe document such as in a floating window like floating window 560 shownin FIG. 5. In step 1309, the facility receives user input revising thetextual hierarchy displayed in step 1308. In step 1310, the facilitydisplays in the document a version of the graphic generated in step 1306that has been revised in accordance with the revisions to the textualhierarchy received in step 1309 if appropriate. After step 1310, thefacility continues in step 1309 to receive additional user inputrevising the textual hierarchy. Though not shown in FIG. 13, asdiscussed above, the user may also alter the generated graphic in avariety of other ways that do not involve revising the textual hierarchyon which it is based.

Those skilled in the art will appreciate that the steps shown in FIG. 13may be altered in a variety of ways. For example, the order of the stepsmay be rearranged; substeps may be performed in parallel; shown stepsmay be omitted, or other steps may be included; etc.

It will be appreciated by those skilled in the art that theabove-described facility may be straightforwardly adapted or extended invarious ways. For example, the facility may generate graphics of a widevariety of types, based upon text in a variety of forms, having avariety of different types of formatting. Additionally, the facility maybe used in conjunction with a variety of different application types;that is, applications for preparing a variety of different types ofdocuments. Further, the facility may be used by programmatic usersrather than human users; for example, the facility may be embodied in asubroutine or a web service called by another program that provides anyneeded input. While the foregoing description makes reference toparticular embodiments, the scope of the invention is defined solely bythe claims that follow and the elements recited therein.

1.-20. (canceled)
 21. A method in a computing system for transformingtextual content into a hierarchical graphic, comprising: receiving aselection of textual content comprising at least a first line of textand a second line of text that are not included in a hierarchicalgraphic, wherein there is a hierarchical relationship between the firstline of text and the second line of text; receiving a selection of aconversion command; generating the hierarchical graphic from theselected textual content, the hierarchical graphic comprising: at leasta first graphical element comprising the first line of text; and atleast a second graphical element comprising the second line of text,wherein there is a graphical hierarchical relationship between the firstgraphical element and the second graphical element that corresponds tothe hierarchical relationship between the first line of text and thesecond line of text; and replacing the selected textual content with thehierarchical graphic.
 22. The method of claim 21, further comprising:receiving a selection of a first graphic design from a gallery, whereina first shape of the first graphical element and a second shape of thesecond graphical element are determined by the selected first graphicdesign.
 23. The method of claim 22, further comprising: before receivingthe selection of the first graphic design, displaying one or moreavailable graphic designs in the gallery.
 24. The method of claim 21,further comprising: before replacing the selected textual content withthe hierarchical graphic, automatically adjusting the selected textualcontent.
 25. The method of claim 21, wherein the selected textualcontent occupies a portion of a document before the replacing, andwherein the hierarchical graphic is scaled to occupy substantially thesame portion of the document after the replacing.
 26. The method ofclaim 21, further comprising: substantially simultaneously displayingthe hierarchical graphic with the selected textual content; receivingedits to the selected textual content; and in response to receiving theedits, displaying edits to the hierarchical graphic that correspond tothe edits to the selected textual content.
 27. The method of claim 22,further comprising: receiving a selection of a second graphic designfrom the gallery, wherein a third shape of the first graphical elementand a fourth shape of the second graphical element are determined by theselected second graphic design.
 28. A computer storage device havinginstructions that when executed by a processing unit cause a computingsystem to perform a method of generating a hierarchical graphic, themethod comprising: receiving a selection of textual content comprisingat least a first line of text and a second line of text that are notincluded in a hierarchical graphic, wherein there is a hierarchicalrelationship between the first line of text and the second line of text;receiving a selection of a conversion command; generating thehierarchical graphic from the selected textual content, the hierarchicalgraphic comprising: at least a first graphical element comprising thefirst line of text; and at least a second graphical element comprisingthe second line of text, wherein there is a graphical hierarchicalrelationship between the first graphical element and the secondgraphical element that corresponds to the hierarchical relationshipbetween the first line of text and the second line of text; andreplacing the selected textual content with the hierarchical graphic.29. The computer storage device of claim 28, further comprising:receiving a selection of a first graphic design from a gallery, whereina first shape of the first graphical element and a second shape of thesecond graphical element are determined by the selected first graphicdesign.
 30. The computer storage device of claim 29, further comprising:before receiving the selection of the first graphic design, displayingone or more available graphic designs in the gallery.
 31. The computerstorage device of claim 28, further comprising: before replacing theselected textual content with the hierarchical graphic, automaticallyadjusting the selected textual content.
 32. The computer storage deviceof claim 28, wherein the selected textual content occupies a portion ofa document before the replacing, and wherein the hierarchical graphic isscaled to occupy substantially the same portion of the document afterthe replacing.
 33. The computer storage device of claim 28, furthercomprising: substantially simultaneously displaying the hierarchicalgraphic with the selected textual content; receiving edits to theselected textual content; and in response to receiving the edits,displaying edits to the hierarchical graphic that correspond to theedits to the selected textual content.
 34. The computer storage deviceof claim 29, further comprising: receiving a selection of a secondgraphic design from the gallery, wherein a third shape of the firstgraphical element and a fourth shape of the second graphical element aredetermined by the selected second graphic design.
 35. A computingsystem, comprising: at least one processing unit; and at least onememory having computer-readable instructions that when executed by theat least one processor cause the computing system to perform a method,the method comprising: receiving a selection of textual contentcomprising at least a first line of text and a second line of text thatare not included in a hierarchical graphic, wherein there is ahierarchical relationship between the first line of text and the secondline of text; receiving a selection of a conversion command; generatingthe hierarchical graphic from the selected textual content, thehierarchical graphic comprising: at least a first graphical elementcomprising the first line of text; and at least a second graphicalelement comprising the second line of text, wherein there is a graphicalhierarchical relationship between the first graphical element and thesecond graphical element that corresponds to the hierarchicalrelationship between the first line of text and the second line of text;and replacing the selected textual content with the hierarchicalgraphic.
 36. The computing system of claim 35, further comprising:receiving a selection of a first graphic design from a gallery, whereina first shape of the first graphical element and a second shape of thesecond graphical element are determined by the selected first graphicdesign.
 37. The computing system of claim 35, further comprising: beforereplacing the selected textual content with the hierarchical graphic,automatically adjusting the selected textual content.
 38. The computingsystem of claim 35, wherein the selected textual content occupies aportion of a document before the replacing, and wherein the hierarchicalgraphic is scaled to occupy substantially the same portion of thedocument after the replacing.
 39. The computing system of claim 35,further comprising: substantially simultaneously displaying thehierarchical graphic with the selected textual content; receiving editsto the selected textual content; and in response to receiving the edits,displaying edits to the hierarchical graphic that correspond to theedits to the selected textual content.
 40. The computing system of claim36, further comprising: receiving a selection of a second graphic designfrom the gallery, wherein a third shape of the first graphical elementand a fourth shape of the second graphical element are determined by theselected second graphic design.